package com.aaa.entity.system;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 操作日志
 * </p>
 *
 * @author aaa
 * @since 2020-12-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_operation_log")
@ApiModel(value="OperationLog对象", description="操作日志")
public class OperationLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "operation_log_id", type = IdType.ASSIGN_ID)
    private Long operationLogId;

    @ApiModelProperty(value = "日志类型(字典)")
    private String logType;

    @ApiModelProperty(value = "日志名称")
    private String logName;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "类名称")
    private String className;

    @ApiModelProperty(value = "方法名称")
    private String method;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "是否成功(字典)")
    private String succeed;

    @ApiModelProperty(value = "备注")
    private String message;


}
